package org.rescue.data.extraction;

/**
 * 
 * An Annotation represents a match to a particular concept in a taxonomy
 * along with the confidence level of the assignment.
 *
 */
public class Annotation {

	String name;
	int id;
	double confidence;
	
	public Annotation(String name,  int id, double confidence) {
		this.name = name;
		this.id = id;
		this.confidence = confidence;
	}
	
	public int getId(){
		return id;
	}
	
	public double getConfidence() {
		return confidence;
	}
	
	public String getName() {
		return name;
	}
}
